home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / AMICUS / AMICUS02.ADF / Make / rules.h < prev    next >
C/C++ Source or Header  |  1989-05-30  |  525b  |  29 lines

  1.  
  2. /* rules.h */
  3.  
  4. #define MAXDEPEND 100
  5. #define MAXACTION 20
  6. #define MAXRULES  50
  7.  
  8. /*
  9.  * struct rule -- storage for a rule of the form
  10.  *
  11.  * target : depend[0] depend[1] ... depend[c_depend]
  12.  *        action[0]
  13.  *        action[1]
  14.  *           :
  15.  *        action[c_action]
  16.  *
  17.  */
  18.  
  19. extern struct rule {
  20.     char *pch_target;
  21.     int  c_depend;
  22.     char *apch_depend[ MAXDEPEND ];
  23.     int c_action;
  24.     char *apch_action[ MAXACTION ];
  25. } arl_Rules[ MAXRULES ];
  26.  
  27. extern int n_Rules;
  28. extern char **GetDependants(), **GetActions();
  29.